﻿
using System.ServiceModel;
using System.ServiceModel.Web;
using AdventureWorks.Services;
using System.ServiceModel.Description;
using System;
namespace GeneralTest
{
    public class RestHostVersion35 : WebServiceHost
    {

        //public RestHostVersion35(Uri serviceUrl)
        //    : base(typeof(RestServiceVersion35), serviceUrl)
        //{
        //    //WebHttpBinding binding = new WebHttpBinding();
        //    //var endpoint = this.AddServiceEndpoint(typeof(RestServiceVersion35), binding, "http://localhost:7080/testrest");
        //    //endpoint.Behaviors.Add(new WebHttpBehavior());
        //}
    }
}
